package com.youdianda.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.youdianda.dto.YddAdvimgDTO;
import com.youdianda.dto.YddAdvimgPageQueryDTO;
import com.youdianda.dto.YddAdvposDTO;
import com.youdianda.entity.YddAdvimg;
import com.youdianda.result.Result;
import com.youdianda.vo.YddAdvimgPageQueryVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mosen
 * @since 2023-05-15
 */
public interface IYddAdvimgService extends IService<YddAdvimg> {

    /**
     * 查询广告图详情
     * @param id
     * @return
     */
    public Result selectById(Integer id);

    /**
     * 广告图分页
     * @param yddAdvimgDTO
     * @return
     */
    public Result<YddAdvimgPageQueryVO> pageQuery(YddAdvimgPageQueryDTO yddAdvimgDTO);

    /**
     * 修改广告图详情
     * @param yddAdvimgDTO
     * @return
     */

    public Result updateAdvimg ( YddAdvimgDTO yddAdvimgDTO);

    /**
     * 根据ID删除
     * @param id
     * @return
     */

    public Result deleteById(Integer id);

    /**
     * 广告图添加
     * @param yddAdvimgDTO
     * @return
     */
    public Result insertAdvimg( YddAdvimgDTO yddAdvimgDTO);

}
